package org.example.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.entity.Invitation;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class InvitationVo {
    int sender;
    int receiver;
    String text;

    public InvitationVo(Invitation invitation){
        sender = invitation.sender;
        receiver = invitation.receiver;
        text = invitation.text;
    }
}
